SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 51549: The B8601DT, E8601DT, E8601DZ, and TOD formats write midnight as 24:00:00 rather than 00:00:00

DetailsCodeResultsHotfixAboutRate It

The documentation for the B8601DTw.d and E8601DTw.d formats states that the maximum value for the hour portion of the time is 23. Under certain conditions, these formats write the time portion as 24:00:00, which is incorrect. If a value of midnight is output, the correct datetime value is 00:00:00 for the following day. The same is true for the TODw.d and E8601DZw.d formats.

The sample code on the Full Code illustrates the problem. The output that is generated by the code can be viewed on the Results tab.

There is currently no circumvention for this problem.

Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASz/OS9.2 TS1M09.4 TS1M2
Microsoft® Windows® for 64-Bit Itanium-based Systems9.2 TS1M0
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.2 TS1M0
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.2 TS1M0
Microsoft Windows XP 64-bit Edition9.2 TS1M0
Microsoft® Windows® for x649.2 TS1M0
Microsoft Windows Server 2003 Datacenter Edition9.2 TS1M0
Microsoft Windows Server 2003 Enterprise Edition9.2 TS1M0
Microsoft Windows Server 2003 Standard Edition9.2 TS1M0
Microsoft Windows XP Professional9.2 TS1M0
Windows Vista9.2 TS1M0
Windows Vista for x649.2 TS1M0
64-bit Enabled AIX9.2 TS1M09.4 TS1M2
64-bit Enabled HP-UX9.2 TS1M09.4 TS1M2
64-bit Enabled Solaris9.2 TS1M09.4 TS1M2
HP-UX IPF9.2 TS1M09.4 TS1M2
Linux9.2 TS1M09.4 TS1M2
Linux for x649.2 TS1M09.4 TS1M2
OpenVMS on HP Integrity9.2 TS1M09.4 TS1M2
Solaris for x649.2 TS1M09.4 TS1M2
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.